import React ,{Suspense}from 'react'
import {useRoutes} from "react-router-dom"
import routerCONFIG from "../router/index"
function App() {
  return (
    <Suspense fallback={<>...loading</>}>
        {
            useRoutes(routerCONFIG)
        }
    </Suspense>
  
  )
}

export default App